#pragma once

#include <wx/wx.h>

class SplashScreenWindow: public wxPanel
{
public:
	SplashScreenWindow(const wxBitmap& bitmap, wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER);

    void OnPaint(wxPaintEvent& event);
    void OnEraseBackground(wxEraseEvent& event);

    void SetBitmap(const wxBitmap& bitmap) { m_bitmap = bitmap; }
    wxBitmap& GetBitmap() { return m_bitmap; }
    
    DECLARE_EVENT_TABLE();

protected:
    wxBitmap    m_bitmap;
};
